Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Rotate-About-Point Transforms

Labels

ASCII
RotateAboutPoint
Binary
rtap ( = 0x72746170 )

Data Format

AxisEnum            axis
Float32             radians
Point3D             origin
axis
The axis of rotation.
radians
The number of radians to rotate about the axis of rotation.
origin
The point at which the rotation is to occur.

Data Size

20

Description

A rotate-about-point transform rotates an affected object by the specified number of radians about the line parallel to the value in the axis field and passing through the point specified in the origin field.

Parent Hierarchy

Shared, shape, transform.

Parent Objects

None.

Child Objects

None.

Example

Rotate (
    Y                           # axis
    1.0                         # radians
    2 3 4                       # origin
)

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |